package day01;

public class PriceDemo {
    public static void main(String[] args) {
        double price = 1000;
        double pay=0;
        if(price<800){
            pay=price;
        }else{
            pay=price*0.8;
        }
        for (int i=0;i<5;i++){
            System.out.print(i+"\t");
        }
        System.out.println();
        for (int i=6;i>0;i--){
            System.out.print(i+"\t");
        }
        System.out.println();
        for (int i=1;i<=9;i++){
            for (int j=1;j<=i;j++){
                System.out.print(j+"*"+i+"="+j*i+"\t");
            }System.out.println();
        }

    }
}
